package com.qcby.demoforspringboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("index")
public class IndexController {

    @RequestMapping("index")
    public String index(){
        System.out.println("index");
        return "index";
    }
    @RequestMapping("index1")
    public String index1(){
        System.out.println("index1");
        return "index1";
    }
    @RequestMapping("index2")
    public String index2(){
        System.out.println("index2");
        return "index2";
    }
}
